<%@ page import="Apr06.pojo.News" %><%--
  Created by IntelliJ IDEA.
  User: wu
  Date: 2022/4/7
  Time: 14:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>回显修改</title>
</head>
<body>
<%
    News news= (News) session.getAttribute("news");
%>
    <form action="ChuLi1.jsp" name="dataFrm" id="dataFrm" method="post" enctype="multipart/form-data">
        <input type="text" hidden name="newsid" value="<%=news.getId()%>">
        categoryId:<input type="text" name="categoryId" value="<%=news.getCategoryId()%>">
        标题:<input type="text" name="title" value="<%=news.getTitle()%>">
        上传图片：<input type="file" name="picPath" value="<%=news.getPicPath()%>">
        <input type="submit" value="提交">
    </form>
</body>
</html>
